package day01.ti.ti01;

public class ShuXing {
    private String pinpai;
    private String xinghao;
    private String yanse;
    private String shoujia;

    public ShuXing() {
    }

    public ShuXing(String pinpai, String xinghao,
                   String yanse, String shoujia) {
        this.pinpai = pinpai;
        this.xinghao = xinghao;
        this.yanse = yanse;
        this.shoujia = shoujia;
    }

    public String getPinpai() {
        return pinpai;
    }

    public void setPinpai(String pinpai) {
        this.pinpai = pinpai;
    }

    public String getXinghao() {
        return xinghao;
    }

    public void setXinghao(String xinghao) {
        this.xinghao = xinghao;
    }

    public String getYanse() {
        return yanse;
    }

    public void setYanse(String yanse) {
        this.yanse = yanse;
    }

    public String getShoujia() {
        return shoujia;
    }

    public void setShoujia(String shoujia) {
        this.shoujia = shoujia;
    }
    public void show(){
        System.out.println(getPinpai()+getXinghao()
                +getYanse()+getShoujia());
    }
}
